package net.codesree.dao;

import java.util.Map;
import java.io.Serializable;
import net.codesree.dao.IRowMapper;

public interface IPager extends Serializable {
 /**
 * @author Sreerag
 * @param String,IRowMapper,Int,Int
 * @returns Map of results with row identifier as the key
 **/
 public <T> Map<Object,T> pageResults(String queryStr,IRowMapper mapper,int offSet,int pageSize) throws Exception;